package com.itheima.chapter01.branching;

import java.util.Scanner;

/*
    减肥计划
 */
public class demoswitch {
    public static void main(String[] args) {
        Scanner sc= new Scanner(System.in);
        System.out.println("请输入星期数：");
        int week = sc.nextInt();
        switch (week){
            case 1:
                System.out.println("帕梅拉");
                break;
            case 2:
                System.out.println("跑步");
                break;
            case 3:
                System.out.println("动感单车");
                break;
            case 4:
                System.out.println("瑜伽");
                break;
            case 5:
                System.out.println("游泳");
                break;
            case 6:
                System.out.println("慢走");
                break;
            case 7:
                System.out.println("有氧操");
                break;
            default:
                System.out.println("您输入的星期数有误！");
                break;
        }
    }
}
